<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>我的凡客</title>
		<script type="text/javascript">
		var getCartDataUrl = "{|U:'getCartData'}";
		var delCartUrl = "{|U:'Cart/del'}";
		</script>
		<include file="__TEMPLATE__/publicCssAndJs" />
		<link rel="stylesheet" type="text/css" href="__TEMPLATE__/css/memberPublic.css"/>
		<link rel="stylesheet" type="text/css" href="__TEMPLATE__/css/myList.css"/>
		<style type="text/css">
		.windent td{text-align: center;padding: 5px;}
		.windent td a{color: #000000;}
		.windent td a:hover{color: #A10000;}
		</style>
	</head>
	<body>
		<!-- 头部开始 -->
		<include file="__TEMPLATE__/header" />
		<!-- 头部结束 -->
		<dl class="wrapper">
			<dl id="position">
				<dt>您当前的位置：<a href="{|U:'Index/index'}">凡客首页</a></dt>
				<dd> &gt; <a href="{|U:'Member/index'}">我的凡客</a></dd>
				<dd> &gt; <a href="javascript:;">我的订单</a></dd>
			</dl>
			<!--left menu start-->
			<include file="__TEMPLATE__/memberleft" />
			<!--left menu end-->
			<div class="ordercontainer">
				<h3><span>我的订单</span></h3>
				<div class="wtitle">
					<div id="myTab" class="wtitle_l">
						<a href="{|U:'index'}" <if value="!isset($_GET['ow'])">class="track wtitle_lNa"<else />class="track"</if>>全部订单<span>({$orderNum.total})</span></a>
						<a href="{|U:'index',array('ow'=>0)}" <if value="isset($_GET['ow']) && $_GET['ow'] == 0">class="track wtitle_lNa"<else />class="track"</if>>进行中<span>(<span>{$orderNum.jx}</span>)</span></a>
						<a href="{|U:'index',array('ow'=>1)}" <if value="isset($_GET['ow']) && $_GET['ow'] == 1">class="track wtitle_lNa"<else />class="track"</if>>已完成<span>({$orderNum.wc})</span></a>
						<a href="{|U:'index',array('ow'=>2)}" <if value="isset($_GET['ow']) && $_GET['ow'] == 2">class="track wtitle_lNa"<else />class="track"</if>>无效<span>(<span>{$orderNum.wx}</span>)</span></a>
					</div>
					<div class="wtitle_r">
						<select style="display: inline-block;" id="posttime" name="posttime">
							<option selected="selected" value="2015-08-12,2015-09-10">30天内的订单</option>
							<option value="2015-01-01,2015-08-11">2015年的订单</option>
							<option value="2014-01-01,2014-12-31">2014年的订单</option>
							<option value="2013-01-01,2013-12-31">2013年的订单</option>
							<option value="2007-01-01,2012-12-31">更早的订单</option>
						</select>
					</div>
				</div>
				
				<div id="orderlist">
					<div class="orderinfo">
						<div class="windent">
							<table width="100%">
								<tr>
									<th>订单号</th>
									<th>价格总计</th>
									<th>提交时间</th>
									<th>订单状态</th>
									<th>操作</th>
								</tr>
								<if value="empty($orderData)">
									<tr>
										<td colspan="4"><p>暂无订单记录</p></td>
									</tr>
								<else />
									<foreach from="$orderData" key="$odk" value="$odv">
										<tr>
											<td><a href="{|U:'OrderList/index',array('oid'=>$odv['oid'])}">{$odv.onumber}</a></td>
											<td>{$odv.ototal}</td>
											<td>{$odv.time}</td>
											<td>{$odv.status}</td>
											<td><a href="">查看</a>&nbsp;/&nbsp;<a href="">删除</a></td>
										</tr>
									</foreach>
								</if>
							</table>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div style="width: 100%;height: 20px;clear: both;"></div>
		<div class="copyRight">
			<div class="copyRightTab"><p>Copyright 2007 - 2014 vancl.com All Rights Reserved 京ICP证100557号 京公网安备11011502002400号 出版物经营许可证新出发京批字第直110138号</p></div>
		</div>
	</body>
</html>
